def get_suggestions(moisture: str, pest: str) -> list[str]:
    """根据诊断结果生成养护建议"""
    suggestions = []
    
    # 水分建议
    moisture_suggestions = {
        "extreme_drought": [
            "立即浸盆法浇水，让土壤充分吸水",
            "将植物移至阴凉处，避免阳光直射",
            "明早观察叶片恢复情况，如无改善需进一步处理"
        ],
        "mild_drought": [
            "适量浇水，保持土壤湿润但不积水",
            "检查土壤排水性，确保根系健康",
            "避免过度浇水，遵循见干见湿原则"
        ],
        "moderate": [
            "当前水分状态良好，继续保持",
            "定期检查土壤湿度，适时调整浇水频率",
            "注意季节变化对水分需求的影响"
        ],
        "waterlogged": [
            "立即停止浇水，将植物移至通风处",
            "检查花盆排水孔是否堵塞",
            "如情况严重，考虑更换疏松透气的土壤"
        ],
        "normal": [
            "水分状态正常，继续保持当前养护方式",
            "定期观察植物状态，及时调整养护策略"
        ]
    }
    
    # 病虫害建议
    pest_suggestions = {
        "powdery_mildew": [
            "立即剪除病叶，避免病害扩散",
            "使用硫磺粉或专用杀菌剂处理",
            "改善通风条件，降低环境湿度"
        ],
        "black_spot": [
            "剪除所有病叶并销毁",
            "使用多菌灵或百菌清等杀菌剂",
            "避免叶片沾水，改善植株间距"
        ],
        "aphids": [
            "使用肥皂水或专用杀虫剂喷洒",
            "引入天敌如瓢虫进行生物防治",
            "定期检查新芽，及时处理虫害"
        ],
        "red_spider_mite": [
            "增加环境湿度，定期喷水",
            "使用阿维菌素等专用杀螨剂",
            "隔离病株，防止虫害传播"
        ],
        "scale_insects": [
            "用棉签蘸酒精擦拭虫体",
            "使用专用杀虫剂彻底处理",
            "检查其他植物，防止交叉感染"
        ],
        "none": [
            "未发现明显病虫害，继续保持良好养护",
            "定期检查植物健康状态"
        ]
    }
    
    # 添加水分建议
    if moisture in moisture_suggestions:
        suggestions.extend(moisture_suggestions[moisture])
    
    # 添加病虫害建议
    if pest in pest_suggestions:
        suggestions.extend(pest_suggestions[pest])
    
    # 通用建议
    general_suggestions = [
        "保持适宜的温度和光照条件",
        "定期施肥，提供充足的营养",
        "及时修剪枯枝败叶，保持植株整洁"
    ]
    
    # 根据情况添加通用建议
    if len(suggestions) < 3:
        suggestions.extend(general_suggestions[:3-len(suggestions)])
    
    # 限制建议数量，确保返回最重要的3条
    return suggestions[:3]